.Net Framework > v1.1.4322 > System > Security > Principal > WindowsPrincipal > IsInRole IsInRole(Int32)
IsInRole(SecurityIdentifier)
IsInRole(WindowsBuiltInRole)
IsInRole(String)


IsInRole(Int32)

Category
Method
Description
Determines whether the current principal belongs to the Windows user group with the specified role identifier (RID).
Type
Boolean
Character
public
Parameters
NameTypeDescription
ridInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

IsInRole(SecurityIdentifier)

Category
Method
Type
Boolean
Character
public
Parameters
NameTypeDescription
sidSecurityIdentifier
Attributes
NameValue/Assignment
ComVisibleAttributeFalse
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

IsInRole(WindowsBuiltInRole)

Category
Method
Description
Determines whether the current principal belongs to the Windows user group with the specified System.Security.Principal.WindowsBuiltInRole.
Type
Boolean
Character
public
Parameters
NameTypeDescription
roleWindowsBuiltInRole
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

IsInRole(String)

Category
Method
Description
Determines whether the current principal belongs to the Windows user group with the specified name.
Type
Boolean
Character
public
Parameters
NameTypeDescription
roleString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database